#include<stdio.h>
void day(int);
int main()
{
	printf("answer\n");
	printf("It has 1534 peaches.\n");
	printf("The 10 day, there is 1 peach\n");
	day(9);
	printf("end");
	return 0;
}
void day(int date)
{
	static int peach = 1;
    if (date < 10 && date>0)
	{
		peach = (peach + 1) * 2;
		printf("The %d day, there are %d peaches\n",date,peach);//由于要求倒序，将printf放在前面。
		day(date - 1);//此处应用递归。
	}
}